﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Web.SystemConfig.WorkFlow;
using System.Collections;
using ePlanet.ArchiveMange.Services;
using DreamBuilder.Core.Container;
using ePlanet.ArchiveMange.Models;
using Web.SystemConfig.ArchiveCode;
using System.Data;

namespace Web.Views.ArchiveManage
{
    public partial class DocumentArchiveFlowList :  ArchiveFlowPageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            //基类控件赋值
            PassFlowName = hiddenSHTG.Value;
            BackFlowName = hiddenBack.Value;
            gvTransfered = gvDocumentDone;
            gvUnTransfered = gvDocumentUndo;
            pagerTransfered = pagerDone;
            pagerUntransfered = pagerUndo;

            ///时间：2012年12月15日 13:16:40
            ///添加未生成档号列表
            gvUntransferedWithNoArchiveNum = gvDocumentUndoWithNoArchiveNum;
            pagerUntransferedWithNoArchiveNum = pagerUndoWithNoArchiveNum;
            CurrentStatusName = hiddenStatusName.Value;

            if (!IsPostBack)
            {
                //调用基类方法初始化页面数据
                InitialData();
            }
            else
            {
                //
            }
        }

        /// <summary>
        /// 生成档号
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        protected void btnGenerateArchiveCode_Click(object sender, EventArgs e)
        {
            
        }
    }
}